﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Bohdan.Arch.Messaging.Special
{
    public class WaitMessage : GeneralMessage
    {
        public override Guid TargetSubscriberId
        {
            get { return TimeMeasurerSubscriber._Id; }
        }

        public WaitMessage()
        {
        }

        public WaitMessage(TimeSpan duration)
        {
            this.Duration = duration;
        }

        public TimeSpan Duration { get; set; }
    }
}
